package com.ocom.common.entity.card;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "kitchen_prt_record")
public class EntityKitchenPrtRecord implements Serializable {

	private static final Long serialVersionUID = -3413658250859711454L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	private Long comId;
	private Long prtId;
	private String orderNo;
	private Integer printFormat;
	private Long dishesId;
	private String printContent;
	private Integer status;
	private String printOrderId;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

}
